home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Triton / Developer / Autodocs / triton.doc
Text File  |  1995-06-28  |  41KB  |  1,287 lines

  1. TABLE OF CONTENTS
  2.  
  3. triton.lib/TR_CloseTriton
  4. triton.lib/TR_OpenTriton
  5. triton.library/class_Button
  6. triton.library/class_CheckBox
  7. triton.library/class_Cycle
  8. triton.library/class_DisplayObject
  9. triton.library/class_DropBox
  10. triton.library/class_FrameBox
  11. triton.library/class_Group
  12. triton.library/class_Image
  13. triton.library/class_Line
  14. triton.library/class_Listview
  15. triton.library/class_Object
  16. triton.library/class_Palette
  17. triton.library/class_Progress
  18. triton.library/class_Scroller
  19. triton.library/class_Slider
  20. triton.library/class_Space
  21. triton.library/class_String
  22. triton.library/class_Text
  23. triton.library/TR_AutoRequest
  24. triton.library/TR_CloseProject
  25. triton.library/TR_CloseWindowSafely
  26. triton.library/TR_CreateApp
  27. triton.library/TR_DeleteApp
  28. triton.library/TR_EasyRequest
  29. triton.library/TR_FirstOccurance
  30. triton.library/TR_GetAttribute
  31. triton.library/TR_GetErrorString
  32. triton.library/TR_GetLastError
  33. triton.library/TR_GetMsg
  34. triton.library/TR_LockProject
  35. triton.library/TR_LockScreen
  36. triton.library/TR_NumOccurances
  37. triton.library/TR_ObtainWindow
  38. triton.library/TR_OpenProject
  39. triton.library/TR_ReleaseWindow
  40. triton.library/TR_ReplyMsg
  41. triton.library/TR_SendMessage
  42. triton.library/TR_SetAttribute
  43. triton.library/TR_UnlockProject
  44. triton.library/TR_UnlockScreen
  45. triton.library/TR_Wait
  46. triton.lib/TR_CloseTriton                           triton.lib/TR_CloseTriton
  47.  
  48.    NAME    
  49.     TR_CloseTriton -- Closes Triton easily.
  50.  
  51.    SYNOPSIS
  52.     TR_CloseTriton()
  53.  
  54.     VOID TR_CloseTriton(VOID);
  55.  
  56.    FUNCTION
  57.     Closes the application created by OpenTriton()
  58.     and closes triton.library.
  59.  
  60.    SEE ALSO
  61.     TR_OpenTriton()
  62.  
  63. triton.lib/TR_OpenTriton                             triton.lib/TR_OpenTriton
  64.  
  65.    NAME    
  66.     TR_OpenTriton -- Opens Triton ready to use.
  67.  
  68.    SYNOPSIS
  69.     success = TR_OpenTriton(version, tag1,...)
  70.     D0
  71.  
  72.     BOOL TR_OpenTriton(ULONG, ULONG,...);
  73.  
  74.    FUNCTION
  75.     Opens triton.library with the specified minimum
  76.     version and creates an application.
  77.     The supplied tags are passed as a taglist to
  78.     TR_CreateApp().
  79.  
  80.    RESULT
  81.     success - Was everything opened successful?
  82.  
  83.    SEE ALSO
  84.     TR_CloseTriton(), TR_CreateApp()
  85.  
  86. triton.library/class_Button                       triton.library/class_Button
  87.  
  88.    NAME    
  89.     class_Button -- A BOOPSI button gadget
  90.  
  91.    SUPERCLASS
  92.     class_DisplayObject
  93.  
  94.    SYNOPSIS
  95.     TROB_Button
  96.  
  97.    ATTRIBUTES
  98.     <Default>        : ULONG buttontype
  99.                        - TRBT_TEXT         : Text button (default)
  100.                        - TRBT_GETFILE      : GetFile image button
  101.                        - TRBT_GETDRAWER    : GetDrawer image button
  102.                        - TRBT_GETENTRY     : GetEntry image button
  103.     TRAT_Text        : STRPTR label
  104.     TRAT_Flags       : ULONG flags
  105.                        - TRBU_RETURNOK     : Activated by <Return>
  106.                        - TRBU_ESCOK        : Activated by <Esc>
  107.                        - TRBU_SHIFTED      : Shifted shortcut only
  108.                        - TRBU_UNSHIFTED    : Unshifted shortcut only
  109.                        - TRBU_YRESIZE (V2) : When this flag is set, the
  110.                                              button will be vertically
  111.                                              resizeable. This is required
  112.                                              because beginning with V2
  113.                                              the height of objects which
  114.                                              are normally using the
  115.                                              button height can be
  116.                                              modified in the prefs
  117.                                              editor. Set this flags
  118.                                              WHEREVER POSSIBLE in order
  119.                                              to make buttons adopt to
  120.                                              higher objects in the same
  121.                                              horizontal group.
  122.  
  123. triton.library/class_CheckBox                   triton.library/class_CheckBox
  124.  
  125.    NAME    
  126.     class_CheckBox -- A GadTools checkbox gadget
  127.  
  128.    SUPERCLASS
  129.     class_DisplayObject
  130.  
  131.    SYNOPSIS
  132.     TROB_CheckBox
  133.  
  134.    ATTRIBUTES
  135.     <Default>        : <unused>
  136.     TRAT_Value       : BOOL checked
  137.  
  138. triton.library/class_Cycle                         triton.library/class_Cycle
  139.  
  140.    NAME    
  141.     class_Cycle -- A GadTools cycle gadget
  142.  
  143.    SUPERCLASS
  144.     class_DisplayObject (no attributes inherited)
  145.  
  146.    SYNOPSIS
  147.     TROB_Cycle
  148.  
  149.    ATTRIBUTES
  150.     <Default>        : STRPTR *entries    : Gadget etry labels
  151.                                             (create only)
  152.     TRAT_ID          : ULONG objectid
  153.     TRAT_Value       : ULONG number
  154.     TRAT_Disabled    : BOOL disabled      : Requires OS3.0+ when used
  155.                                             together with TRCY_MX.
  156.     TRAT_Flags       : ULONG flags (V2)
  157.                        - TRCY_MX          : "Unfold" the cycle gadget to
  158.                                             a mutually exclusive gadget.
  159.                        - TRCY_RIGHTLABELS : Put the labels to the right
  160.                                             side (TRCY_MX only).
  161.  
  162. triton.library/class_DisplayObject         triton.library/class_DisplayObject
  163.  
  164.    NAME    
  165.     class_DisplayObject -- An abstract display object
  166.  
  167.    SUPERCLASS
  168.     class_Object
  169.  
  170.    SYNOPSIS
  171.     TROB_DisplayObject
  172.  
  173.    ATTRIBUTES
  174.     <Default>            : <unused>
  175.     TRAT_ID              : ULONG objectid
  176.     TRAT_Disabled        : BOOL disabled
  177.     TRDO_QuickHelpString : STRPTR string
  178.  
  179. triton.library/class_DropBox                     triton.library/class_DropBox
  180.  
  181.    NAME    
  182.     class_DropBox -- An icon drop box
  183.  
  184.    SUPERCLASS
  185.     class_DisplayObject
  186.  
  187.    SYNOPSIS
  188.     TROB_DropBox
  189.  
  190.    ATTRIBUTES
  191.     <Default>        : <unused>
  192.  
  193. triton.library/class_FrameBox                   triton.library/class_FrameBox
  194.  
  195.    NAME    
  196.     class_FrameBox -- A framing box
  197.  
  198.    SUPERCLASS
  199.     class_DisplayObject (no attributes inherited)
  200.  
  201.    SYNOPSIS
  202.     TROB_FrameBox
  203.  
  204.    ATTRIBUTES
  205.     <Default>        : ULONG boxtype (V2)
  206.                          If no flag is set, unnamed boxes will
  207.                          be grouping and named ones framing.
  208.                        - TRFB_TEXT       : A text container
  209.                        - TRFB_GROUPING   : A grouping box
  210.                        - TRFB_FRAMING    : A framing box.
  211.     TRAT_ID          : ULONG objectid (V2)
  212.     TRAT_Backfill    : ULONG pattern
  213.     TRAT_Text        : STRPTR label (V2)
  214.     <other>          : <Child object>
  215.  
  216. triton.library/class_Group                         triton.library/class_Group
  217.  
  218.    NAME    
  219.     class_Group -- A grouping object
  220.  
  221.    SUPERCLASS
  222.     class_DisplayObject (no attributes inherited)
  223.  
  224.    SYNOPSIS
  225.     TRGR_Horiz
  226.     TRGR_Vert
  227.  
  228.    ATTRIBUTES
  229.     <Default>        : ULONG flags
  230.                        - TRGR_PROPSHARE  : Divide objects
  231.                                            proportionally
  232.                        - TRGR_EQUALSHARE : Divide objects equally
  233.                        - TRGR_PROPSPACES : Divide spaces
  234.                                            proportionally
  235.                        - TRGR_ARRAY      : Top group of an array. Lines
  236.                                            or culumns can be built
  237.                                            using TRGR_PROPSHARE groups.
  238.                                            At least one group must
  239.                                            be contained in an array.
  240.                        - TRGR_ALIGN      : Align resizeable objects in
  241.                                            their secondary dimension
  242.                        - TRGR_CENTER     : Center non-resizeable
  243.                                            objects in their secondary
  244.                                            dimension
  245.                        - TRGR_FIXHORIZ   : Don't allow horizontal
  246.                                            resizing
  247.                        - TRGR_FIXVERT    : Don't allow vertical
  248.                                            resizing
  249.                        - TRGR_INDEP (V2) : Group is independent of
  250.                                            surrounding array
  251.     TRAT_ID          : ULONG objectid (V4)
  252.     <other>          : <treated as elements of the group>
  253.     TRGR_End         : <unused> : Marks the end of the group
  254.  
  255. triton.library/class_Image                         triton.library/class_Image
  256.  
  257.    NAME    
  258.     class_Image -- An image (V2)
  259.  
  260.    SUPERCLASS
  261.     class_DisplayObject (no attributes inherited)
  262.  
  263.    SYNOPSIS
  264.     TROB_Image
  265.  
  266.    ATTRIBUTES
  267.     <Default>        : <Image>
  268.     TRAT_Flags       : ULONG flags
  269.                        - TRIM_BOOPSI : <Default> is a pointer to a
  270.                                        struct IClass BOOPSI image class.
  271.     TRAT_MinWidth    : Minimum image width in pixels. Defaults to
  272.                        the image button height.
  273.     TRAT_MinHeight   : Minimum image height in pixels. Defaults to
  274.                        the image button height.
  275.     TRAT_ID          : ULONG objectid
  276.  
  277. triton.library/class_Line                           triton.library/class_Line
  278.  
  279.    NAME    
  280.     class_Line -- A 3D line
  281.  
  282.    SUPERCLASS
  283.     class_DisplayObject
  284.  
  285.    SYNOPSIS
  286.     TROB_Line
  287.  
  288.    ATTRIBUTES
  289.     <Default>        : ULONG flags
  290.                        - TROF_HORIZ        : Horizontal line
  291.                                              (Overrides group dimension)
  292.                        - TROF_VERT         : Vertical line
  293.                                              (Overrides group dimension)
  294.                        - TROF_RAISED       : Raised line
  295.  
  296. triton.library/class_Listview                   triton.library/class_Listview
  297.  
  298.    NAME
  299.     class_Listview -- A GadTools Listview gadget
  300.  
  301.    SUPERCLASS
  302.     class_DisplayObject (no attributes inherited)
  303.  
  304.    SYNOPSIS
  305.     TROB_Listview
  306.  
  307.    ATTRIBUTES
  308.     <Default>        : struct List *entries
  309.     TRAT_ID          : ULONG objectid
  310.     TRAT_Disabled    : BOOL disabled
  311.     TRAT_Flags       : ULONG flags
  312.                        - Listview type (mutually exclusive):
  313.                          - TRLV_READONLY     : A read-only list
  314.                          - TRLV_SELECT       : You may select an entry
  315.                          - TRLV_SHOWSELECTED : Show selected entry
  316.                        - TRLV_NOCURSORKEYS   : Don't use arrow keys
  317.                        - TRLV_NONUMPADKEYS   : Don't use keypad keys
  318.                        - TRLV_FWFONT         : Use the fixed-width font
  319.                        - TRLV_NOGAP (V2)     : Leave no gap below the
  320.                                                list but instead at the
  321.                                                end of the group.
  322.     TRAT_Value       : ULONG selected        : Currently selected entry
  323.                                                (TRLV_SHOWSELECTED only)
  324.     TRLV_Top         : ULONG top
  325.     TRAT_MinWidth    : ULONG minwidth        : Minimum width
  326.                                                (Default: 10 characters)
  327.     TRAT_MinHeight   : ULONG minheight       : Minimum height
  328.                                                (Default: 4 lines)
  329.  
  330.    MESSAGES
  331.     'Select' listviews send TRMS_ACTION messages. 'ShowSelected' lists
  332.     send TRMS_NEWVALUE messages. trm_Data contains the ordinal number
  333.     of the selected entry. trm_Qualifier&IEQUALIFIER_REPEAT is set if
  334.     the user has double-clicked the specified listview entry.
  335.  
  336.    BUGS
  337.     In triton.library v2 the fixed-width font handling was broken.
  338.  
  339. triton.library/class_Object                       triton.library/class_Object
  340.  
  341.    NAME    
  342.     class_Object -- The abstract root class
  343.  
  344.    SUPERCLASS
  345.     <none>
  346.  
  347.    SYNOPSIS
  348.     TROB_Object
  349.  
  350.    ATTRIBUTES
  351.     <Default>        : <unused>
  352.  
  353. triton.library/class_Palette                     triton.library/class_Palette
  354.  
  355.    NAME    
  356.     class_Palette -- A GadTools palette gadget
  357.  
  358.    SUPERCLASS
  359.     class_DisplayObject
  360.  
  361.    SYNOPSIS
  362.     TROB_Palette
  363.  
  364.    ATTRIBUTES
  365.     <Default>        : <unused>
  366.     TRAT_Value       : BOOL checked
  367.  
  368. triton.library/class_Progress                   triton.library/class_Progress
  369.  
  370.    NAME    
  371.     class_Progress -- A progress indicator
  372.  
  373.    SUPERCLASS
  374.     class_DisplayObject (no attributes inherited)
  375.  
  376.    SYNOPSIS
  377.     TROB_Progress
  378.  
  379.    ATTRIBUTES
  380.     <Default>        : ULONG maximum
  381.     TRAT_Flags       : ULONG orientation
  382.                        - TROF_HORIZ (default)
  383.                        - TROF_VERT
  384.     TRAT_ID          : ULONG objectid
  385.     TRAT_Value       : ULONG current
  386.  
  387. triton.library/class_Scroller                   triton.library/class_Scroller
  388.  
  389.    NAME    
  390.     class_Scroller -- A GadTools scroller gadget
  391.  
  392.    SUPERCLASS
  393.     class_DisplayObject (no attributes inherited)
  394.  
  395.    SYNOPSIS
  396.     TROB_Scroller
  397.  
  398.    ATTRIBUTES
  399.     <Default>        : ULONG flags
  400.                        - TROF_HORIZ        : Horizontal scroller
  401.                        - TROF_VERT         : Vertical scroller
  402.     TRAT_ID          : ULONG objectid
  403.     TRAT_Value       : WORD top
  404.     TRAT_Disabled    : BOOL disabled
  405.     TRSC_Total       : WORD total
  406.     TRSC_Visible     : WORD visible
  407.  
  408. triton.library/class_Slider                       triton.library/class_Slider
  409.  
  410.    NAME    
  411.     class_Slider -- A GadTools slider gadget
  412.  
  413.    SUPERCLASS
  414.     class_DisplayObject (no attributes inherited)
  415.  
  416.    SYNOPSIS
  417.     TROB_Slider
  418.  
  419.    ATTRIBUTES
  420.     <Default>        : ULONG flags
  421.                        - TROF_HORIZ (default)
  422.                        - TROF_VERT
  423.     TRAT_ID          : ULONG objectid
  424.     TRAT_Value       : WORD level
  425.     TRAT_Disabled    : BOOL disabled
  426.     TRSL_Min         : WORD min
  427.     TRSL_Max         : WORD max
  428.  
  429. triton.library/class_Space                         triton.library/class_Space
  430.  
  431.    NAME    
  432.     class_Space -- A class of spaces with various sizes
  433.  
  434.    SUPERCLASS
  435.     class_DisplayObject
  436.  
  437.    SYNOPSIS
  438.     TROB_Space
  439.  
  440.    ATTRIBUTES
  441.     <Default>        : ULONG spacetype
  442.                        - TRST_NONE         : No space
  443.                        - TRST_SMALL        : Small space
  444.                        - TRST_NORMAL       : Normal space (default)
  445.                        - TRST_BIG          : Big space
  446.  
  447. triton.library/class_String                       triton.library/class_String
  448.  
  449.    NAME    
  450.     class_String -- A GadTools string gadget
  451.  
  452.    SUPERCLASS
  453.     class_DisplayObject (no attributes inherited)
  454.  
  455.    SYNOPSIS
  456.     TROB_String
  457.  
  458.    ATTRIBUTES
  459.     <Default>        : STRPTR string
  460.     TRAT_ID          : ULONG objectid
  461.     TRAT_Disabled    : BOOL disabled
  462.     TRAT_Value       : UWORD maxchars (default: 64)
  463.                        [create only]
  464.     TRAT_Flags       : ULONG flags
  465.                        - TRST_INVISIBLE         : Invisible typing
  466.                        - TRST_NORETURNBROADCAST : Don't broadcast <Return>
  467.                                                   key presses to the window.
  468.                        [create only]
  469.  
  470.    OBJECT MESSAGES
  471.     TROM_ACTIVATE    : Activate the string gadget.
  472.  
  473. triton.library/class_Text                           triton.library/class_Text
  474.  
  475.    NAME    
  476.     class_Text -- A line of text / A value
  477.  
  478.    SUPERCLASS
  479.     class_DisplayObject (no attributes inherited)
  480.  
  481.    SYNOPSIS
  482.     TROB_Text
  483.  
  484.    ATTRIBUTES
  485.     <Default>        : <unused>
  486.     TRAT_ID          : ULONG objectid
  487.     TRAT_Text        : STRPTR text
  488.     TRAT_Value       : ULONG number
  489.     TRAT_MinWidth    : ULONG number_of_average_chars
  490.     TRAT_Flags       : ULONG flags
  491.                        - TRTX_NOUNDERSCORE    : Don't interpret underscores
  492.                        - TRTX_HIGHLIGHT       : Highlight text
  493.                        - TRTX_3D              : Highlight with shadows
  494.                        - TRTX_TITLE           : Use this for titles (e.g.
  495.                                                 of separator bars).
  496.                        - TROF_RIGHTALIGN (V2) : Align text to the right border
  497.                                                 of available space (e.g. in
  498.                                                 text boxes and arrays)
  499.                        - TRTX_CLIPPED (V4)    : Text is resizable in X
  500.                                                 direction. Text which
  501.                                                 exceeds the available
  502.                                                 space will be truncated.
  503.  
  504.    BUGS
  505.     Below v2 of triton.library changing TRAT_Text while the text was
  506.     displayed did only work with text on a TRBF_WINDOWBACK object.
  507.  
  508. triton.library/TR_AutoRequest                   triton.library/TR_AutoRequest
  509.  
  510.    NAME    
  511.     TR_AutoRequest -- A (relatively ;-) low-level requester function.
  512.  
  513.    SYNOPSIS
  514.     selection = TR_AutoRequest(App, Project, TagList)
  515.     D0                         A1   A0       A2
  516.  
  517.     ULONG TR_AutoRequest(struct TR_App *, struct TR_Project *,
  518.                          struct AppItem *);
  519.  
  520.     selection = TR_AutoRequestTags(App, Project, Tag,...)
  521.     D0
  522.  
  523.     ULONG TR_AutoRequestTags(struct TR_App *, struct TR_Project *,
  524.                          struct AppItem *);
  525.  
  526.    FUNCTION
  527.     Pops up a requester which is described by the supplied tag list.
  528.     As soon as a TRMS_ACTION message is sent by one of the objects,
  529.     the requester will close. If a project is supplied, it will be
  530.     locked when opening the requester and unlocked when closing it.
  531.  
  532.    RESULT
  533.     selection - The ID of the object which triggered the action,
  534.                 NULL for an error, (ULONG)(-1) for the close gadget.
  535.  
  536.    NOTES
  537.     Simple requesters with just text and buttons can be done easier
  538.     with TR_EasyRequest(). If you need more complex requesters, you
  539.     have to use your own message polling loop instead of
  540.     TR_AutoRequest(). You may still use the requester macros though.
  541.  
  542.    SEE ALSO
  543.     TR_EasyRequest()
  544.  
  545. triton.library/TR_CloseProject                 triton.library/TR_CloseProject
  546.  
  547.    NAME    
  548.     TR_CloseProject -- Closes a project/window.
  549.  
  550.    SYNOPSIS
  551.     TR_CloseProject(Project)
  552.                     A0
  553.  
  554.     VOID TR_CloseProject(struct TR_Project *);
  555.  
  556.    FUNCTION
  557.     Closes a Triton project.
  558.  
  559.    SEE ALSO
  560.     TR_OpenProject()
  561.  
  562. triton.library/TR_CloseWindowSafely       triton.library/TR_CloseWindowSafely
  563.  
  564.    NAME    
  565.     TR_CloseWindowSafely -- Closes as window with a shared IDCMP port.
  566.  
  567.    SYNOPSIS
  568.     TR_CloseWindowSafely(Window)
  569.                          A0
  570.  
  571.     VOID TR_CloseWindowSafely(struct Window *);
  572.  
  573.    FUNCTION
  574.     Closes a window which shares its IDCMP port with another window.
  575.     All the pending messages (concerning this window) on the port
  576.     will be removed and the window will be closed.
  577.     
  578.     Do *NOT* use this function to close windows which have an IDCMP
  579.     port set up by Intuition. If you do the port will be left in memory!
  580.     
  581.     If you intend to open a lot of windows all sharing the same IDCMP
  582.     port it is easiest if you create a port yourself and open all
  583.     windows with newwin.IDCMPFlags set to 0 (this tells Intuition NOT to
  584.     set up an IDCMP port). After opening the window set win->UserPort
  585.     to your message port and call ModifyIDCMP() to set your IDCMP flags.
  586.     
  587.     When you then receive messages from Intuition check their
  588.     imsg->IDCMPWindow field to find out what window they came from
  589.     and act upon them.
  590.     
  591.     When closing your windows call TR_CloseWindowSafely() for all of
  592.     them and delete your message port.
  593.  
  594.    INPUTS
  595.     Window - pointer to the window to be closed.
  596.  
  597.    NOTE
  598.     This function is for the advanced Triton user.
  599.  
  600.    SEE ALSO
  601.     intuition.library/CloseWindow()
  602.  
  603. triton.library/TR_CreateApp                       triton.library/TR_CreateApp
  604.  
  605.    NAME    
  606.     TR_CreateApp -- Creates a Triton application.
  607.     TR_CreateAppTags -- Varargs stub for TR_CreateApp.
  608.  
  609.    SYNOPSIS
  610.     app = TR_CreateApp(TagList)
  611.     D0                 A1
  612.  
  613.     struct TR_App * TR_CreateApp(struct TagItem *);
  614.  
  615.     app = TR_CreateAppTags(Tag1,...)
  616.  
  617.     struct TR_App * TR_CreateApp(ULONG,...);
  618.  
  619.    FUNCTION
  620.     Creates an application. An application is required
  621.     for opening windows and polling messages. All projects
  622.     of an application will share one IDCMP port and one
  623.     memory pool.
  624.  
  625.    TAGS
  626.     TRCA_Name        - (STRPTR)
  627.                        Unique name for the application. Must not be
  628.                        longer than 20 characters. Case-insensitive.
  629.                        ' ', '/', '.' and ':' are not allowed.
  630.     TRCA_LongName    - (STRPTR)
  631.                        A user-readable name for the application.
  632.                        Up to 60 characters allowed.
  633.     TRCA_Info        - (STRPTR)
  634.                        Information about the application. Should not
  635.                        be more than 2 lines with 60 characters each.
  636.     TRCA_Version     - (STRPTR)
  637.                        Internal version of the application.
  638.     TRCA_Release     - (STRPTR)
  639.                        Release number of the application.
  640.     TRCA_Date        - (STRPTR)
  641.                        Creation/compilation date. Should be given
  642.                        in standard version string format.
  643.     
  644.     Example:
  645.       Name        : DilloCreate
  646.       LongName    : Armadillo Creator
  647.       Info        : Part of the Armadillo Management System.
  648.                     © 1994 by DilloWorks Enterprises.
  649.       Version     : 42.135
  650.       Release     : 2.1bß3
  651.       Date        : 17.6.94
  652.  
  653.    RESULT
  654.     app - A pointer to the created application structure.
  655.           NULL indicates failure.
  656.  
  657.    SEE ALSO
  658.     TR_DeleteApp()
  659.  
  660. triton.library/TR_DeleteApp                       triton.library/TR_DeleteApp
  661.  
  662.    NAME    
  663.     TR_DeleteApp -- Deletes a Triton application.
  664.  
  665.    SYNOPSIS
  666.     TR_DeleteApp(App)
  667.                  A1
  668.  
  669.     VOID TR_DeleteApp(struct TR_App *);
  670.  
  671.    FUNCTION
  672.     Deletes an application created by TR_CreateApp().
  673.  
  674.    NOTES
  675.     All windows have to be closed before deleting the
  676.     corresponding application!
  677.  
  678.    SEE ALSO
  679.     TR_CreateApp()
  680.  
  681. triton.library/TR_EasyRequest                   triton.library/TR_EasyRequest
  682.  
  683.    NAME    
  684.     TR_EasyRequest -- A high-level requester function.
  685.  
  686.    SYNOPSIS
  687.     selection = TR_EasyRequest(App, BodyFmt, GadFmt, TagList)
  688.     D0                         A1   A2       A3      A0
  689.  
  690.     ULONG TR_EasyRequest(struct TR_App *, STRPTR, STRPTR, struct TagItem *);
  691.  
  692.     selection = TR_EasyRequestTags(App, BodyFmt, GadFmt, Tag,...)
  693.     D0
  694.  
  695.     ULONG TR_EasyRequestTags(struct TR_App *, STRPTR, STRPTR, ULONG,...);
  696.  
  697.    FUNCTION
  698.     Pops up a requester and waits for the user to select a gadget.
  699.  
  700.    INPUTS
  701.     App       - A valid Triton application.
  702.     BodyFmt   - A formatted text which will be displayed in the
  703.                 requester body. A <newline> (\n) will start a new line
  704.                 with a small space above it. A <return> (\r) will add
  705.                 a normal space instead. A <tab> (\t) will add a normal
  706.                 space, then a 3D separator line and again a normal
  707.                 space. '%b' will switch to boldface, '%3' to 3D text,
  708.                 '%h' to highlight and '%n' to normal style (at the moment
  709.                 styles may only be changed at the beginning of a line!).
  710.                 Beginning with v2, '%s' ('Shadow') is allowed as an alias
  711.                 for '%3' because CatComp doesn't compile catalogs with
  712.                 '%3' in the description files.
  713.                 (Sigh, why is there no way of telling CatComp not to
  714.                 interpret '%' characters...)
  715.     GadFmt    - The gadget texts, separated by '|'.
  716.     TagList   - Pointer to a TagItem array.
  717.  
  718.    TAGS
  719.     TREZ_ReqPos      - (ULONG)
  720.                        The requester's position (TRWP_...).
  721.                        The default is TRWP_MOUSEPOINTER.
  722.     TREZ_LockProject - (struct TR_Project *)
  723.                        This project will be locked while the
  724.                        requester is displayed. Information about
  725.                        screen and activity state of the requester
  726.                        are taken from this project.
  727.     TREZ_Return      - (ULONG)
  728.                        Number of the default gadget which can be
  729.                        activated by <RETURN>. Defaults to 1 (0 in
  730.                        a single-gadget requester).
  731.     TREZ_Title       - (STRPTR)
  732.                        Requester window title. Default is
  733.                        "System request" (or a localized version under
  734.                        OS2.1 and higher).
  735.     TREZ_Activate    - (BOOL)
  736.                        If this tag is supplied, the activity state
  737.                        of the requester window will be taken from
  738.                        this tag's argument instead of being inherited
  739.                        from the locked project (if applicable).
  740.  
  741.    RESULT
  742.     selection - The number of the selected gadget. The gadgets are
  743.                 numbered from left to right beginning with 1. The
  744.                 rightmost gadget (or the only gadget in a 1-gadget
  745.                 requester) has got number 0. (ULONG)(-1) is returned
  746.                 for indicating an error.
  747.  
  748.    SEE ALSO
  749.     TR_AutoRequest()
  750.  
  751. triton.library/TR_FirstOccurance             triton.library/TR_FirstOccurance
  752.  
  753.    NAME    
  754.     TR_FirstOccurance -- Finds a character in a string.
  755.  
  756.    SYNOPSIS
  757.     Position = TR_FirstOccurance(Character, String)
  758.     D0                           D0         A0
  759.  
  760.     LONG TR_FirstOccurance(UBYTE, STRPTR);
  761.  
  762.    FUNCTION
  763.     Finds the specified character in the string.
  764.  
  765.    RESULT
  766.     Position - The position of the first occurance of the
  767.     character in the string or -1 if the character couldn't
  768.     be found in the string.
  769.  
  770. triton.library/TR_GetAttribute                 triton.library/TR_GetAttribute
  771.  
  772.    NAME    
  773.     TR_GetAttribute -- Gets an attribute of an object.
  774.  
  775.    SYNOPSIS
  776.     value = TR_GetAttribute(Project, ID, Attribute)
  777.     D0                      A0       D0  D1
  778.  
  779.     ULONG TR_GetAttribute(struct TR_Project *, ULONG,
  780.                           ULONG);
  781.  
  782.    FUNCTION
  783.     Gets an attribute of a Triton object. Only attributes
  784.     of objects with an ID can be queried.
  785.  
  786.    RESULT
  787.     value - Value of the specified attribute. Depends
  788.             on specific class and attribute.
  789.  
  790.    SEE ALSO
  791.     Class descriptions, TR_SetAttribute()
  792.  
  793. triton.library/TR_GetErrorString             triton.library/TR_GetErrorString
  794.  
  795.    NAME    
  796.     TR_GetErrorString -- Creates an error message
  797.  
  798.    SYNOPSIS
  799.     Message = TR_GetErrorString(Number)
  800.     D0                          D0
  801.  
  802.     STRPTR TR_GetErrorString(UWORD);
  803.  
  804.    FUNCTION
  805.     Creates an error message which matches the supplied
  806.     Triton error code.
  807.  
  808.    INPUTS
  809.     Number - Triton error code. In most cases you will
  810.              get this with TR_GetLastError().
  811.  
  812.    RESULT
  813.     Message - Pointer to a user-readable error message
  814.               or an empty string ("") if none available.
  815.  
  816.    BUGS
  817.     In older Triton versions, TR_GetErrorString() did
  818.     return NULL instead of an empty string. This is
  819.     fixed in V4.
  820.  
  821.    SEE ALSO
  822.     TR_GetLastError()
  823.  
  824. triton.library/TR_GetLastError                 triton.library/TR_GetLastError
  825.  
  826.    NAME    
  827.     TR_GetLastError -- Gets the last error code
  828.  
  829.    SYNOPSIS
  830.     Number = TR_GetLastError(App)
  831.     D0                       A1
  832.  
  833.     UWORD TR_GetLastError(struct TR_App *);
  834.  
  835.    FUNCTION
  836.     Returns the TRER code of the last error which occured
  837.     in the application and sets the internal tra_LastError
  838.     back to TRER_OK.
  839.  
  840.    INPUTS
  841.     App - Pointer to a Triton Application
  842.  
  843.    RESULT
  844.     Number - TRER error code
  845.  
  846.    SEE ALSO
  847.     TR_GetErrorString()
  848.  
  849. triton.library/TR_GetMsg                             triton.library/TR_GetMsg
  850.  
  851.    NAME    
  852.     TR_GetMsg -- Gets a Triton message.
  853.  
  854.    SYNOPSIS
  855.     message = TR_GetMsg(App)
  856.     D0                  A1
  857.  
  858.     struct TR_Message * TR_GetMsg(struct TR_App *);
  859.  
  860.    FUNCTION
  861.     Gets a message from a Triton application created
  862.     by TR_CreateApp(). You may first want to wait for
  863.     a message with TR_Wait().
  864.  
  865.    NOTES
  866.     Please reply all messages as quickly as possible
  867.     with TR_ReplyMsg(). This will reduce memory usage.
  868.     All pending messages will be freed automatically when
  869.     you shut down the application with TR_DeleteApp().
  870.     It is *NOT* guaranteed that all reserved resources
  871.     *within* the messages will be freed (like AppMessages)!
  872.  
  873.    SEE ALSO
  874.     TR_ReplyMsg(), TR_Wait()
  875.  
  876. triton.library/TR_LockProject                   triton.library/TR_LockProject
  877.  
  878.    NAME    
  879.     TR_LockProject -- Locks a Triton project.
  880.  
  881.    SYNOPSIS
  882.     TR_LockProject(Project)
  883.                    A0
  884.  
  885.     VOID TR_LockProject(struct TR_Project *);
  886.  
  887.    FUNCTION
  888.     Locks a Triton project. Only window resizing will
  889.     still work in a locked project. All other kinds of
  890.     input (i.e. all input which requires interaction
  891.     by your program and not only by Triton) are not
  892.     possible.
  893.  
  894.    SEE ALSO
  895.     TR_UnlockProject()
  896.  
  897. triton.library/TR_LockScreen                     triton.library/TR_LockScreen
  898.  
  899.    NAME    
  900.     TR_LockScreen -- Get a project's screen
  901.  
  902.    SYNOPSIS
  903.     screen = TR_LockScreen(Project)
  904.     D0                     A0
  905.  
  906.     struct Screen * TR_LockScreen(struct TR_Project *);
  907.  
  908.    FUNCTION
  909.     Lock the screen of a Triton project for use with non-Triton
  910.     windows (e.g. for opening a file requester on the screen of a
  911.     Triton application). The screen must be unlocked later with
  912.     TR_UnlockScreen(). Locking/unlocking calls are nested.
  913.  
  914.    RESULT
  915.     screen - Pointer to the project's screen or NULL to indicate an
  916.              error. In this case the application should *not* abort,
  917.              but *quietly* use another screen (preferably the
  918.              Workbench screen) instead.
  919.  
  920.    SEE ALSO
  921.     TR_UnlockScreen()
  922.  
  923. triton.library/TR_NumOccurances               triton.library/TR_NumOccurances
  924.  
  925.    NAME    
  926.     TR_NumOccurances -- Counts a character in a string.
  927.  
  928.    SYNOPSIS
  929.     Number = TR_NumOccurances(Character, String)
  930.     D0                        D0         A0
  931.  
  932.     LONG TR_NumOccurances(UBYTE, STRPTR);
  933.  
  934.    FUNCTION
  935.     Counts the number of occurances of the character in the string.
  936.  
  937.    RESULT
  938.     Number - The number of occurances found.
  939.  
  940. triton.library/TR_ObtainWindow                 triton.library/TR_ObtainWindow
  941.  
  942.    NAME    
  943.     TR_ObtainWindow -- Get a project's window. (V3)
  944.  
  945.    SYNOPSIS
  946.     window = TR_ObtainWindow(Project)
  947.     D0                       A0
  948.  
  949.     struct Window * TR_ObtainWindow(struct TR_Project *);
  950.  
  951.    FUNCTION
  952.     Lock the window of a Triton project for non-Triton window
  953.     operations (e.g. activating a window or bringing it to the
  954.     front). Do not manipulate the contents of Triton windows!
  955.     Locked windows must be freed again with TR_UnlockWindow().
  956.     Locking/unlocking calls are nested.
  957.  
  958.    RESULT
  959.     window - Pointer to the project's Window. A value of NULL should
  960.              be quietly ignored. NULL simply indicates that there is
  961.              currently no window available.
  962.  
  963.    SEE ALSO
  964.     TR_UnlockWindow()
  965.  
  966. triton.library/TR_OpenProject                   triton.library/TR_OpenProject
  967.  
  968.    NAME    
  969.     TR_OpenProject -- Opens a project/window.
  970.     TR_OpenProjectTags -- Varargs stub for TR_OpenProject.
  971.  
  972.    SYNOPSIS
  973.     Project = TR_OpenProject(App, TagItems)
  974.     D0                       A1   A0
  975.  
  976.     struct TR_Project *TR_OpenProject(struct TR_App *,
  977.                                       struct TagItem *);
  978.  
  979.     Project = TR_OpenProjectTags(App, Tag1,...)
  980.  
  981.     struct TR_Project *TR_OpenProjectTags(struct TR_App *,
  982.                                           ULONG,...);
  983.  
  984.    FUNCTION
  985.     Opens a Triton project. The supplied taglist may contain
  986.     window tags, menu tags and object tags (in that order).
  987.     Mutually exclusive menus are not yet supported. When creating
  988.     a menu item with an ID, TRAT_ID must be the *last* tag.
  989.     A valid application pointer must be supplied.
  990.  
  991.    INPUTS
  992.     App = Valid application pointer
  993.     TagItems = List of tags describing the project
  994.  
  995.    TAGS
  996.     The taglist may contain window tags, menu tags and object tags
  997.     (in that order!). The following list shows the window and menu
  998.     tags. See the class descriptions for the object tags.
  999.  
  1000.     TRWI_Title (STRPTR) - The window title (changeable)
  1001.  
  1002.     TRWI_ScreenTitle (STRPTR) - The screen title (changeable) (V2)
  1003.  
  1004.     TRWI_Flags (ULONG) - The Triton window flags:
  1005.     - TRWF_BACKDROP        : Create a backdrop borderless window
  1006.                              in full screen size
  1007.     - TRWF_NODRAGBAR       : No dragging bar
  1008.     - TRWF_NODEPTHGADGET   : No depth arranging gadget
  1009.     - TRWF_NOCLOSEGADGET   : No close gadget
  1010.     - TRWF_NOACTIVATE      : Don't activate window
  1011.     - TRWF_NOESCCLOSE      : Don't send TRMS_CLOSEWINDOW when
  1012.                              Esc is pressed
  1013.     - TRWF_NOPSCRFALLBACK  : Don't fall back onto default PubScreen
  1014.     - TRWF_NOZIPGADGET     : No zip/zoom gadget
  1015.     - TRWF_ZIPCENTERTOP    : Center zipped window on screen title bar
  1016.     - TRWF_NOMINTEXTWIDTH  : Window title text length doesn't count
  1017.                              for window size calculation
  1018.     - TRWF_NOSIZEGADGET    : No size gadget
  1019.     - TRWF_NOFONTFALLBACK  : Don't fall back to topaz/8
  1020.     - TRWF_NODELZIP        : Don't zip the window when Del is pressed
  1021.     - TRWF_SIMPLEREFRESH   : Use simple instead of smart refresh. (V1)
  1022.                              This flag is *obsolete* in V3+!
  1023.                              The refresh type is now set by the user.
  1024.     - TRWF_ZIPTOCURRENTPOS : Zip the window without changing its
  1025.                              position. Requires OS3.0 or higher.
  1026.     - TRWF_APPWINDOW       : Create an AppWindow even if no object
  1027.                              reacts on dropped icons
  1028.     - TRWF_ACTIVATESTRGAD  : Activate the first string gadget after
  1029.                              opening the window
  1030.     - TRWF_HELP            : When the user presses <Help> over a menu
  1031.                              item or a display object, a TRMS_HELP
  1032.                              message will be sent (V2)
  1033.     - TRWF_SYSTEMACTION    : When a system action IDCMP message arrives,
  1034.                              a corresponding Triton message will be
  1035.                              generated. These are currently
  1036.                              TRMS_DISKINSERTED and TRMS_DISKREMOVED.
  1037.                              (V4)
  1038.  
  1039.     TRWI_Underscore (UBYTE *) - The underscore for menu and gadget
  1040.         shortcuts. The default is "_".
  1041.  
  1042.     TRWI_Position (ULONG) - The window position:
  1043.     - TRWP_DEFAULT         : Let Triton choose a good position for
  1044.                              the window
  1045.     - TRWP_BELOWTITLEBAR   : Left side of screen; below the title bar
  1046.     - TRWP_CENTERTOP       : Top of screen; centered on the title bar
  1047.     - TRWP_TOPLEFTSCREEN   : Top left corner of screen
  1048.     - TRWP_CENTERSCREEN    : Centered on the screen
  1049.     - TRWP_CENTERDISPLAY   : Centered on the currently displayed clip
  1050.     - TRWP_MOUSEPOINTER    : Centered under the mouse pointer
  1051.  
  1052.     TRWI_CustomScreen (struct Screen *) - A custom screen on which
  1053.         the window will be opened
  1054.  
  1055.     TRWI_PubScreen (struct Screen *) - A public screen on which the
  1056.         window will be opened. The screen *must* have been locked.
  1057.  
  1058.     TRWI_PubScreenName (STRPTR) - A public screen on which the window
  1059.         will be opened. Triton will try to lock the screen with the
  1060.         specified name. It will fall back onto the default public
  1061.         screen in case the screen can't be found/locked if you don't
  1062.         specify TRWF_NOPSCRFALLBACK.
  1063.  
  1064.     TRWI_PropFontAttr (struct TextAttr *) - The proportional font. If
  1065.         Triton can't open the font or the window would become too big
  1066.         for the screen with this font and you didn't specify
  1067.         TRWF_NOFONTFALLBACK, Triton will try to use topaz/8 instead.
  1068.  
  1069.     TRWI_FixedWidthFontAttr (struct TextAttr *) - The fixed-width
  1070.         font. If Triton can't open the font or the window would
  1071.         become too big for the screen with this font and you didn't
  1072.         specify TRWF_NOFONTFALLBACK, Triton will try to use topaz/8
  1073.         instead.
  1074.  
  1075.     TRWI_Backfill (ULONG) - The backfill type:
  1076.     - TRBF_WINDOWBACK        : Default window background; Can be
  1077.                                changed by the user in the Triton
  1078.                                Preferences editor
  1079.     - TRBF_REQUESTERBACK     : Default requester background; Can be
  1080.                                changed by the user in the Triton
  1081.                                Preferences editor
  1082.     - TRBF_NONE              : No backfill (i.e. fill with
  1083.                                BACKGROUNDPEN)
  1084.     - TRBF_SHINE             : Fill with SHINEPEN
  1085.     - TRBF_SHADOW            : Fill with SHADOWPEN
  1086.     - TRBF_FILL              : Fill with FILLPEN
  1087.     - TRBF_SHINE_SHADOW      : Fill with a pattern composed of
  1088.                                SHINEPEN and SHADOWPEN
  1089.     - TRBF_SHINE_FILL        : ~ SHINEPEN and FILLPEN
  1090.     - TRBF_SHINE_BACKGROUND  : ~ SHINEPEN and BACKGROUNDPEN
  1091.     - TRBF_SHADOW_FILL       : ~ SHADOWPEN and FILLPEN
  1092.     - TRBF_SHADOW_BACKGROUND : ~ SHADOWPEN and BACKGROUNDPEN
  1093.     - TRBF_FILL_BACKGROUND   : ~ FILLPEN and BACKGROUNDPEN
  1094.  
  1095.     TRWI_ID (ULONG) - An ID for the window. Identical windows (e.g.
  1096.         several identical data editor windows) should share the same
  1097.         ID. Different applications may share the same IDs.
  1098.  
  1099.     TRWI_Dimensions (struct TR_Dimensions *) - A window dimension
  1100.         structure. The user program must supply a structure on its
  1101.         own if it wants to use this feature. Triton will *not*
  1102.         allocate it. If you use a dimensions structure, Triton will
  1103.         copy the window dimensions into it when you close the window.
  1104.         If you supply a filled-in dimension structure, Triton will try
  1105.         to open the window with these dimensions. Supply an empty
  1106.         structure if you want Triton to use the default dimensions (the
  1107.         position may then be specified with TRWI_Position) and fill
  1108.         in the structure for later use.
  1109.  
  1110.     TRWI_QuickHelp (BOOL) - When this flag is set, QuickHelp windows
  1111.         will pop up for those objects which have QuickHelp strings
  1112.         assigned to them. (changeable) (V4)
  1113.  
  1114.     TRMN_Title (STRPTR) - A menu label
  1115.  
  1116.     TRMN_Item (STRPTR) - A menu item label. You may attach a
  1117.         keyboard shortcut to a menu by starting the label string
  1118.         with the shortcut followed by the project's underscore
  1119.         character and then the actual label. You may also use
  1120.         extended menu shortcuts composed of more than one character.
  1121.         Extended shortcuts can be specified with an underscore at
  1122.         the beginning, then the shortcut, again an underscore and
  1123.         the label. You may specify TRMN_BARLABEL instead of a string
  1124.         to create a separator bar in the menu.
  1125.  
  1126.     TRMN_Sub (STRPTR) - A sub-menu item label. See TRMN_Item.
  1127.  
  1128.     TRMN_Flags (ULONG) - Flags for a menu item:
  1129.     - TRMF_CHECKIT         : The menu item may be checked.
  1130.     - TRMF_CHECKED         : The menu item is checked. You may, but
  1131.                              you do not need to specify TRMF_CHECKIT
  1132.                              in addition.
  1133.     - TRMF_DISABLED        : The menu / (sub) item will be ghosted.
  1134.  
  1135.    RESULT
  1136.     Project - The pointer to the TR_Project structure
  1137.  
  1138.    SEE ALSO
  1139.     TR_CloseProject()
  1140.  
  1141. triton.library/TR_ReleaseWindow               triton.library/TR_ReleaseWindow
  1142.  
  1143.    NAME    
  1144.     TR_ReleaseWindow -- Release a project's window. (V3)
  1145.  
  1146.    SYNOPSIS
  1147.     TR_ReleaseWindow(Window)
  1148.                     A0
  1149.  
  1150.     VOID TR_ReleaseWindow(struct Window *);
  1151.  
  1152.    FUNCTION
  1153.     Unlock a window which has been locked by TR_ObtainWindow(). All
  1154.     locked windows must be unlocked! Locking/unlocking calls are
  1155.     nested.
  1156.  
  1157.    SEE ALSO
  1158.     TR_ObtainWindow()
  1159.  
  1160. triton.library/TR_ReplyMsg                         triton.library/TR_ReplyMsg
  1161.  
  1162.    NAME    
  1163.     TR_ReplyMsg -- Replies a Triton message.
  1164.  
  1165.    SYNOPSIS
  1166.     TR_ReplyMsg(Message)
  1167.                 A1
  1168.  
  1169.     VOID TR_ReplyMsg(struct TR_Message *);
  1170.  
  1171.    FUNCTION
  1172.     Replies a message allocated by TR_GetMsg().
  1173.  
  1174.    NOTES
  1175.     Please reply all messages as quickly as possible
  1176.     with TR_ReplyMsg(). This will reduce memory usage.
  1177.     All pending messages will be freed automatically when
  1178.     you shut down the application with TR_DeleteApp().
  1179.     It is *NOT* guaranteed that all reserved resources
  1180.     *within* the messages will be freed (like AppMessages)!
  1181.  
  1182.    SEE ALSO
  1183.     TR_GetMsg(), TR_Wait()
  1184.  
  1185. triton.library/TR_SendMessage                   triton.library/TR_SendMessage
  1186.  
  1187.    NAME    
  1188.     TR_SendMessage -- Send a message to one or more objects. (V4)
  1189.  
  1190.    SYNOPSIS
  1191.     TR_SendMessage(Project, ID, MessageID, MessageData)
  1192.                    A0       D0  D1         A1
  1193.  
  1194.     ULONG TR_SendMessage(struct TR_Project *, ULONG,
  1195.                          ULONG, void *);
  1196.  
  1197.    FUNCTION
  1198.     Sends an object message, specified by its ID (TROM_...)
  1199.     and the message data to one or more objects of a project
  1200.     which share the specified ID. By specifying an ID of NULL,
  1201.     you can send a message to the project itself.
  1202.  
  1203.    SEE ALSO
  1204.     Class descriptions, TR_SetAttribute, TR_GetAttribute()
  1205.  
  1206. triton.library/TR_SetAttribute                 triton.library/TR_SetAttribute
  1207.  
  1208.    NAME    
  1209.     TR_SetAttribute -- Sets an attribute of an object.
  1210.  
  1211.    SYNOPSIS
  1212.     TR_SetAttribute(Project, ID, Attribute, Value)
  1213.                     A0       D0  D1         D2
  1214.  
  1215.     VOID TR_SetAttribute(struct TR_Project *, ULONG,
  1216.                          ULONG, ULONG);
  1217.  
  1218.    FUNCTION
  1219.     Sets an attribute of a Triton object. Only attributes
  1220.     of objects with an ID can be changed. You can change the
  1221.     default attribute of an object by specifying NULL as
  1222.     the attribute to change. By specifying an ID of NULL, you
  1223.     can change those attributes of a Triton project which are
  1224.     marked with '(changeable)' in the TR_OpenProject docs.
  1225.  
  1226.    SEE ALSO
  1227.     Class descriptions, TR_GetAttribute(), TR_OpenProject()
  1228.  
  1229. triton.library/TR_UnlockProject               triton.library/TR_UnlockProject
  1230.  
  1231.    NAME    
  1232.     TR_UnlockProject -- Unlocks a Triton project.
  1233.  
  1234.    SYNOPSIS
  1235.     TR_UnlockProject(Project)
  1236.                      A0
  1237.  
  1238.     VOID TR_UnlockProject(struct TR_Project *);
  1239.  
  1240.    FUNCTION
  1241.     Unlocks a Triton project previously locked by
  1242.     TR_LockProject().
  1243.  
  1244.    SEE ALSO
  1245.     TR_LockProject()
  1246.  
  1247. triton.library/TR_UnlockScreen                 triton.library/TR_UnlockScreen
  1248.  
  1249.    NAME    
  1250.     TR_UnlockScreen -- Release a project's screen
  1251.  
  1252.    SYNOPSIS
  1253.     TR_UnlockScreen(Screen)
  1254.                     A0
  1255.  
  1256.     VOID TR_UnlockScreen(struct Screen *);
  1257.  
  1258.    FUNCTION
  1259.     Unlock a screen which has been locked by TR_LockScreen(). All
  1260.     locked screens must be unlocked! Locking/unlocking calls are
  1261.     nested.
  1262.  
  1263.    SEE ALSO
  1264.     TR_LockScreen()
  1265.  
  1266. triton.library/TR_Wait                                 triton.library/TR_Wait
  1267.  
  1268.    NAME    
  1269.     TR_Wait -- Waits for exec signals.
  1270.  
  1271.    SYNOPSIS
  1272.     Signals = TR_Wait(App, OtherBits)
  1273.             A1   D0
  1274.  
  1275.     ULONG TR_Wait(struct TR_App *, ULONG);
  1276.  
  1277.    FUNCTION
  1278.     Waits until a signal of the specified application
  1279.     or one of the other signal bits is set.
  1280.  
  1281.    RESULT
  1282.     Signals - The mask of set signals
  1283.  
  1284.    SEE ALSO
  1285.     TR_GetMsg(), TR_ReplyMsg()
  1286.  
  1287.